package org.jeecg.modules.performance.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.performance.Model.PerforMonthDetailModel;
import org.jeecg.modules.performance.entity.PerformanceMonthDetail;
import org.springframework.beans.BeanUtils;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @Description: PerformanceMonthDetail
 * @Author: jeecg-boot
 * @Date:   2021-04-16
 * @Version: V1.0
 */
public interface IPerformanceMonthDetailService extends IService<PerformanceMonthDetail> {

    Map<String,Object>  getTotalforDetailMap(String perforMonthId, String departId);

    public Page<PerforMonthDetailModel> getPerforMonthDetailList(Page<PerforMonthDetailModel> page, String perforMonthId, String departId) ;
    public Map<String, Object> getTotalforDepartDetailMap(String perforMonthId, String departId) ;

    public Page<PerforMonthDetailModel> getPerforMonthPersonalDetailList(Page<PerforMonthDetailModel> page, String userId, String name, Integer sureFlag) ;
    public  void   fenpeiPerfor(String perforMonthId, Float perforAmount, Float departAmount, Float fenpeiAmount);

      Float getTotalAdjust(String perforMonthId, String departId, Integer type);
}
